@extends('lottery.layout')

@section('title', '中奖名单')

@section('content')
    <div class="prizeBox">
        <img src="/img/lottery/title.gif" style="width: 100%">
        <div class="prizeListBox">
            <div class=" prizeList">
                <ul>
                    @if($prizeList->first())
                        @foreach($prizeList as $value)
                            <li>恭喜 {{$value->nikeName}} <i>获得
                                    @if($value->prize == 1)
                                    一等奖
                                    @elseif($value->prize == 2)
                                        二等奖
                                    @elseif($value->prize == 3)
                                        三等奖
                                    @elseif($value->prize == 4)
                                        四等奖
                                    @else
                                        五等奖
                                    @endif
                                </i></li>
                            @endforeach
                        @else
                        <li style="text-align: center">暂无中奖人</li>
                        @endif
                </ul>
            </div>
        </div>
    </div>
    <script src="/js/jquery.kxbdmarquee.js"></script>
    <script>
        $('.prizeList').kxbdMarquee({direction:"up",isEqual:true,scrollDelay:100});

    </script>
@stop